"use client";

import {
  IconTopologyComplex,
  IconCircle,
  IconLine,
  IconSquareDot,
  IconHome,
} from "@tabler/icons-react";
import {IpdShellContent} from "@/components/IpdShell/IpdShellContent/IpdShellContent";

const subHeader = {
  zh: "数字孪生",
  en: "Digital Twin",
  base: "/ipdv2/digital-twin",
  nav: [
    {label: "二维可视", link: "graph", icon: IconTopologyComplex},
    {label: "节点管理", link: "nodes", icon: IconCircle},
    {label: "局向管理", link: "edges", icon: IconLine},
    // {label: "面板管理", link: "pannels", icon: IconSquareDot},
    {label: "局址维护", link: "telehouses", icon: IconHome},
  ],
};

export default function Layout({children}: {children: React.ReactNode}) {
  return <IpdShellContent subHeader={subHeader}>{children}</IpdShellContent>;
}
